function starTem(star){
	console.log(star);
	var starNum=[];
	var num_s=parseInt(star.toString().substring(0,1));
	var num=star.charAt(star.length-1);
	console.log(num_s);
	console.log(num);
	for(var i=1;i<=5;i++){
		if (i<=num_s) {
			starNum.push(1)
		}else if(i==num_s+1){
			if (num>0) {
				starNum.push(2);
			}else{
                starNum.push(0);
            }
		}else{
			starNum.push(0)
		}
	}
	return starNum
}

export default{
	starTem:starTem
}